package com.hewep.demo.device.mina.core.message;

import com.hewep.demo.device.mina.core.Response;

import java.util.List;


public class BasicResponse extends AbstractMessage implements Response {

	@Override
	public String getHexMessage() {
		return null;
	}
	
	public void setData(List<Byte> list){
		byte[] datas = new byte[list.size()];
		for (int i=0; i<list.size(); i++) {
			datas[i] = list.get(i);
		}
		this.setData(datas);
	}	
}
